package com.micro.core.exception;


/**
 * 描述:
 * 作者:LevelCoder
 * 邮箱:LevelCoder@126.com
 * 版本:V1.0.0
 * 时间:2018/7/25
 */
public class UnBizException extends BaseCheckedException {



    public UnBizException(String responseCode, String responseMessage) {
        super(responseCode, responseMessage);
    }

    public UnBizException(String responseCode, String format, Object... args) {
        super(responseCode, format, args);
    }


    public UnBizException wrap(String responseCode, String format, Object... args) {
        return new UnBizException(responseCode, format, args);
    }

    @Override
    public String toString() {
        return "UnBizException{" +
                "responseMessage='" + responseMessage + '\'' +
                ", responseCode='" + responseCode + '\'' +
                '}';
    }
}
